<table cellspacing="0" class="tablesorter">
            <thead>
                <tr>
                    <th><span style="font-size:15px;color:black;">Message Content</span>&nbsp;&nbsp;&nbsp;
 <?php if($message['MessageTrack']['reply']==0){?>
                        <a href="<?php echo Configure::read('base_url');?>backstage/messages/reply/<?php echo $message['MessageTrack']['id'];?>"><input type="button"  value="Reply" name="reply" /></a>&nbsp;
                    <?php } ?>
                    <input type="button" class="mail_unread" id="<?php echo $message['MessageTrack']['id'];?>" value="Mark as Unread" name="markasunread" />&nbsp;
                    <input type="button" class="mail_archive" id="<?php echo $message['MessageTrack']['id'];?>" value="Archive" name="archive" />&nbsp;
                    <input type="button" class="mail_star" id="<?php echo $message['MessageTrack']['id'];?>" value="Star/Unstar this Message" name="<?php echo $message['MessageTrack']['star'];?>" />&nbsp;
                    <input type="button" class="mail_delete"  id="<?php echo $message['MessageTrack']['id'];?>" value="Delete" name="delete" />&nbsp;
                    </th>
                </tr>
            </thead>
            <tbody>

                <tr>
                    <td ><span style="padding-right:50px;">From: &nbsp;&nbsp;&nbsp;
                    <?php echo $message['Sender']['username'];?></span>
                        Date: <?php echo date('m-d-Y',strtotime($message['Message']['created']));?></td>

                </tr>

                 <tr>
                    <td >Subject: <?php echo $message['Message']['subject'];?></td>
                  </tr>
                  <tr>
                    <td >Message:</td>
                  </tr>
                   <tr>
                    <td ><?php echo $message['Message']['message'];?></td>
                  </tr>
                    <tbody>
                </table>